﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ListInstallation.aspx.cs" Inherits="dzs.Web.supply.ListInstallation" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
    </style>
    <link href="../../css/myStyle.css" rel="stylesheet" />
    <link href="../style.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript">

        function OpenPop(val, w, h) {
            if (true == window.showModalDialog(val, window.self, "dialogwidth=" + w + ";dialogheight=" + h + ";")) {
                __doPostBack('btn_reload', 'btn_reload_Click');
            }

        }
       
    </script>
</head>
<body style="font-size: 9pt;">
    <form id="form1" runat="server">
<table cellpadding="0" cellspacing="0" class="style1">
        <tr>
            <td style=" height:15px;">
                &nbsp;</td>
        </tr>
        <tr>
            <td style=" height:15px;">
                <b>安装调试确认列表</b></td>
        </tr>
        <tr>
            <td style=" height:15px;">
                &nbsp;</td>
        </tr>
        <tr>
            <td style=" height:15px;">
                 项目名称：<asp:TextBox ID="txt_projectName" runat="server"></asp:TextBox>
&nbsp; 物料描述：<asp:TextBox ID="txt_material" runat="server"></asp:TextBox>
&nbsp;<asp:Button ID="btn_sel" runat="server" CssClass="btn" onclick="btn_sel_Click" 
                    Text="查询" /></td>
        </tr>
        <tr>
            <td style=" height:15px;">
                &nbsp;</td>
        </tr>
        <tr>
            <td style=" height:15px;">
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                    BorderWidth="0px" CellPadding="0" CellSpacing="1" CssClass="gv" GridLines="None"
                    onrowcommand="GridView1_RowCommand" Width="100%" 
                    onrowdatabound="GridView1_RowDataBound" AllowPaging="True" 
                    onpageindexchanging="GridView1_PageIndexChanging">
                    <Columns>
                        <asp:TemplateField HeaderText="操作">
                            <ItemTemplate>
                                <asp:LinkButton ID="lbn_aztsqr" runat="server" 
                                    CommandArgument='<%# Bind("supplyPlanId") %>' CommandName="lbn_aztsqr" 
                                    ForeColor="Blue">安装调试确认</asp:LinkButton>
                                &nbsp;&nbsp;
                                <asp:LinkButton ID="lbn_fszljh" runat="server" 
                                    CommandArgument='<%# Bind("supplyPlanId") %>' CommandName="lbn_fszljh" 
                                    ForeColor="Blue" Visible="False">发送质量计划</asp:LinkButton>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField DataField="projectName" HeaderText="项目名称" />
                        <asp:BoundField DataField="proid" HeaderText="项目编号" />
                        <asp:BoundField DataField="material" HeaderText="物料描述" />
                        <asp:TemplateField HeaderText="竣工日期">
                            <EditItemTemplate>
                                <asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("beComplatedTime") %>'></asp:TextBox>
                            </EditItemTemplate>
                            <ItemTemplate>
                                <asp:Label ID="lbl_beComplatedTime" runat="server" 
                                    Text='<%# Bind("beComplatedTime", "{0:d}") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="计划数量">
                            <EditItemTemplate>
                                <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("num") %>'></asp:TextBox>
                            </EditItemTemplate>
                            <ItemTemplate>
                                <asp:Label ID="lbl_nums" runat="server" Text='<%# Bind("num") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="累计入库数量">
                            <EditItemTemplate>
                                <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("innums") %>'></asp:TextBox>
                            </EditItemTemplate>
                            <ItemTemplate>
                                <asp:Label ID="lbl_innums" runat="server" Text='<%# Bind("innums") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                     <PagerStyle CssClass="mypager" />
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td style=" height:15px;">
                <asp:Button ID="btn_reload" runat="server" onclick="btn_reload_Click" 
                    Visible="False" />
            </td>
        </tr>
        <tr>
            <td style=" height:15px;">
                &nbsp;</td>
        </tr>
        </table>
</form></body>
</html>
